QT       += gui core sql

TARGET   = kryptos
TEMPLATE = app

include(../build/commons)

DESTDIR  = $$APPDESTDIR

INCLUDEPATH += \
    $$KRYPTOS_INCLUDES    \
    $$THIRDPARTY_INCLUDES


FORMS += \
    forms/MainWindow.ui \
    forms/KeyViewWidget.ui \
    forms/KeyManagerWidget.ui \
    forms/EncryptWidget.ui \
    forms/DecryptWidget.ui \
    forms/CreateKeyWidget.ui

HEADERS += \
    KeyViewWidget.h \
    KeyManagerWidget.h \
    EncryptWidget.h \
    DecryptWidget.h \
    CreateKeyWidget.h \
    MainWindow.h \
    IKeyOperationWidget.h \
    ContactWrapper.h

SOURCES += \
    main.cpp \
    KeyViewWidget.cpp \
    KeyManagerWidget.cpp \
    EncryptWidget.cpp \
    DecryptWidget.cpp \
    CreateKeyWidget.cpp \
    MainWindow.cpp


LIBS += $$KRYPTOS_LIBPATH \
    -lentities            \
    -lcontroller          \
    -lcryptography        \
    -lactions             \
    -lselection           \
    -lutil                \
    -ldatabase            \
    -lcryptography        \
    $$THIRDPARTY_LIBS


RESOURCES += \
    icons/icons.qrc

####################################################################################
################################### INSTALL ########################################
DataSelection.path  = $$APPDESTDIR
DataSelection.files = $$THIRDPARTY/dataselection/lib/$$OS/DataSelection.$$RUNTIMELIB

INSTALLS += DataSelection



